package com.david.zhufengfm.utils;

import java.util.Date;

/**
 * Created by David on 2015/10/23.
 * qq:978944820
 */
public class DateFormat {
    public static String getDateAgo(String str){
        String ret=null;
        if (str != null) {
            long mm=Long.parseLong(str);
            long millis = System.currentTimeMillis();
            long time=millis-mm;
            long days=time/3600/24;
            if (days>=0||days<2) {
                ret="1天前";










            }
        }
        return ret;
    }
}
